package com.sky.vo;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import java.util.Date;

@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
public class FeedVO implements Serializable {

    private Long userId;
    private Long articleId;
    private String title;
    private String coverImage;
    private String summary;
    private Integer likeCount;
    private Integer commentCount;
    private Boolean isGood;
    @JsonFormat(pattern = "yyyy-MM-dd", locale = "zh", timezone = "GMT+8")
    private Date createdTime;
    @JsonFormat(pattern = "yyyy-MM-dd", locale = "zh", timezone = "GMT+8")
    private Date updateTime;
    private String createdUser;
    private Long createdUserId;
    private String updateUser;
    private Long updateUserId;
    private Boolean deleted;
}
